using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Drawing;
using System.Reflection;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace TechHeadBrothers.Workflows.Activities
{
	public partial class UploadVideo
	{
		#region Designer generated code
		
		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
        [System.Diagnostics.DebuggerNonUserCode]
		private void InitializeComponent()
		{
            this.CanModifyActivities = true;
            System.Workflow.ComponentModel.ActivityBind activitybind1 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind2 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind3 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind4 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind5 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind6 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind7 = new System.Workflow.ComponentModel.ActivityBind();
            System.Workflow.ComponentModel.ActivityBind activitybind8 = new System.Workflow.ComponentModel.ActivityBind();
            this.uploadToSilverlightServices = new TechHeadBrothers.Workflows.Activities.UploadToSilverlightStreaming();
            this.zipVideoAndManifest = new TechHeadBrothers.Workflows.Activities.ZipFiles();
            this.generateVideoManifest = new TechHeadBrothers.Workflows.Activities.GenerateManifest();
            // 
            // uploadToSilverlightServices
            // 
            activitybind1.Name = "UploadVideo";
            activitybind1.Path = "AccountID";
            activitybind2.Name = "UploadVideo";
            activitybind2.Path = "AccountKey";
            activitybind3.Name = "UploadVideo";
            activitybind3.Path = "FilesetName";
            this.uploadToSilverlightServices.Name = "uploadToSilverlightServices";
            activitybind4.Name = "UploadVideo";
            activitybind4.Path = "ZipPath";
            this.uploadToSilverlightServices.SetBinding(TechHeadBrothers.Workflows.Activities.UploadToSilverlightStreaming.AccountIDProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind1)));
            this.uploadToSilverlightServices.SetBinding(TechHeadBrothers.Workflows.Activities.UploadToSilverlightStreaming.AccountKeyProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind2)));
            this.uploadToSilverlightServices.SetBinding(TechHeadBrothers.Workflows.Activities.UploadToSilverlightStreaming.FilesetNameProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind3)));
            this.uploadToSilverlightServices.SetBinding(TechHeadBrothers.Workflows.Activities.UploadToSilverlightStreaming.ZipPathProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind4)));
            // 
            // zipVideoAndManifest
            // 
            activitybind5.Name = "generateVideoManifest";
            activitybind5.Path = "ManifestPath";
            this.zipVideoAndManifest.Name = "zipVideoAndManifest";
            activitybind6.Name = "UploadVideo";
            activitybind6.Path = "VideoPath";
            activitybind7.Name = "UploadVideo";
            activitybind7.Path = "ZipPath";
            this.zipVideoAndManifest.SetBinding(TechHeadBrothers.Workflows.Activities.ZipFiles.VideoPathProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind6)));
            this.zipVideoAndManifest.SetBinding(TechHeadBrothers.Workflows.Activities.ZipFiles.ManifestPathProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind5)));
            this.zipVideoAndManifest.SetBinding(TechHeadBrothers.Workflows.Activities.ZipFiles.ZipPathProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind7)));
            // 
            // generateVideoManifest
            // 
            this.generateVideoManifest.ManifestPath = null;
            this.generateVideoManifest.Name = "generateVideoManifest";
            activitybind8.Name = "UploadVideo";
            activitybind8.Path = "VideoPath";
            this.generateVideoManifest.SetBinding(TechHeadBrothers.Workflows.Activities.GenerateManifest.VideoPathProperty, ((System.Workflow.ComponentModel.ActivityBind)(activitybind8)));
            // 
            // UploadVideo
            // 
            this.Activities.Add(this.generateVideoManifest);
            this.Activities.Add(this.zipVideoAndManifest);
            this.Activities.Add(this.uploadToSilverlightServices);
            this.Description = "Upload a video to Silverlight Streaming using REST API";
            this.Name = "UploadVideo";
            this.CanModifyActivities = false;

		}

		#endregion

        private UploadToSilverlightStreaming uploadToSilverlightServices;
        private ZipFiles zipVideoAndManifest;
        private GenerateManifest generateVideoManifest;










    }
}
